
package zeus.erp.sistema.datos;

import java.sql.Connection;
import java.sql.DriverManager;

public class Conexion {
       public static Connection getConexion(){
        try{
            Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
            Connection cn = DriverManager.getConnection
                ("jdbc:mysql://localhost:1433;databaseName=bd_zeus_final",
                "zeus", "123");
            return cn;
        }catch(Exception e){
            e.printStackTrace();
            return null;
        }
    }
}
